Hi,
We want to add a xml stylesheet header to a xml string generated from an IS document using documentToXMLString service.
If we set ‘addHeader’ to ‘true’, xml header “<?xml version="1.0" encoding="ISO-8859-15"?>” is getting added. Along with this header, we want stylesheet header also in the xml.
Our xml string should look like:
<?xml version="1.0" encoding="ISO-8859-15"?>
<?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
where is the first level xml tag.
We tried adding a document ‘?xml-stylesheet’ with attirbutes ‘@type’ & ‘@href’ but that document was considered as a tag and xml data becomes a invalid xml due to two tags ‘xml-stylesheet’ & ‘Finvoice’ at same level.
Please advise.
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services