Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to copy the input XML file and place in output as a string.
I need to build a new output XML file.One of the new nodes will be a string and it needs to contain the complete input XML file.
Do not know how to do that
You might be looking for this:
<xsl:copy-of select="$currentPage" />
or for everything perhaps this
<xsl:copy-of select="umbraco.library:GetXmlAll()" />
For more information in general about the XML format used within Umbraco you could check this link: http://our.umbraco.org/wiki/reference/files-and-folders/umbraco-xml-format
Roel and Dan are on the right track, but rather than pull in a new instance of XML (via the GetXmlAll method), you can reuse the $currentPage param.
<xsl:copy-of select="$currentPage/ancestor::root" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
copy full xml to output as string
I need to copy the input XML file and place in output as a string.
I need to build a new output XML file.One of the new nodes will be a string and it needs to contain the complete input XML file.
Do not know how to do that
You might be looking for this:
or for everything perhaps this
For more information in general about the XML format used within Umbraco you could check this link: http://our.umbraco.org/wiki/reference/files-and-folders/umbraco-xml-format
Roel and Dan are on the right track, but rather than pull in a new instance of XML (via the GetXmlAll method), you can reuse the $currentPage param.
is working on a reply...