Use xml in plantuml diagram

0 votes
asked Feb 19, 2018 in Can't help by mikael
Hi,

I want to use display the xml requests (NETCONF) between client and server. But for some reason I get an error when trying to convert the below text file to PNG.
Any ideas?

//mikael

@startuml
autonumber
[<--com.company.commonlibrary.netconf.transport.Ssh:<?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
   <capabilities>
      <capability>urn:ietf:params:netconf:base:1.0</capability>
      <capability>urn:com:company:ebase:0.1.0</capability>
      <capability>urn:com:company:ebase:1.1.0</capability>
      <capability>urn:com:company:ebase:1.2.0</capability>
      <capability>urn:com:company:ebase:2.0.0</capability>
      <capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability>
      <capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability>
      <capability>urn:ietf:params:netconf:capability:notification:1.0</capability>
      <capability>urn:company:com:netconf:action:1.0</capability>
      <capability>urn:company:com:netconf:heartbeat:1.0</capability>
      <capability>urn:com:company:netconf:operation:1.0</capability>
      <capability>urn:ietf:params:netconf:capability:interleave:1.0</capability>
      <capability>urn:com:company:netconf:notifications-aggregation:1.0</capability>
   </capabilities>
   <session-id>394</session-id>
</hello>

[-> com.company.commonlibrary.netconf.transport.Ssh: <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <capabilities>
    <capability>urn:ietf:params:netconf:base:1.0</capability>
  </capabilities>
</hello>

@enduml

1 Answer

0 votes
answered Feb 19, 2018 by plantuml (194,210 points)
Hi,

Not sure about what you want to do, but PlantUML does not use XML as input file...
...