Click here to Skip to main content
15,923,168 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralMS Access to oracle thro XML . How to do it Pin
Member 17406158-Mar-05 7:48
Member 17406158-Mar-05 7:48 
GeneralBest performance binary encoding Pin
GuimaSun8-Mar-05 7:39
GuimaSun8-Mar-05 7:39 
GeneralProcess XML from inside XML Pin
Adam Gritt7-Mar-05 7:51
Adam Gritt7-Mar-05 7:51 
GeneralRe: Process XML from inside XML Pin
Phil Hobgen7-Mar-05 20:25
Phil Hobgen7-Mar-05 20:25 
GeneralRe: Process XML from inside XML Pin
DavidNohejl8-Mar-05 9:23
DavidNohejl8-Mar-05 9:23 
GeneralRe: Process XML from inside XML Pin
Phil Hobgen8-Mar-05 10:20
Phil Hobgen8-Mar-05 10:20 
GeneralRe: Process XML from inside XML Pin
DavidNohejl8-Mar-05 9:24
DavidNohejl8-Mar-05 9:24 
GeneralRe: Process XML from inside XML Pin
Phil Hobgen8-Mar-05 12:08
Phil Hobgen8-Mar-05 12:08 
Hi,

Having a bit more of a think....

If you are working to a schema, and the format of the xml currently in Value is not clearly definable then, if you can change the schema, you could just use an xs:any element (with maxOccurs="unbounded") to define the nested xml but place it within the Variable element.
If there is no schema then you could just move the xml as above anyway, with no worries about schema changes.
So there is no need for a CDATA section really.
Of course in either case you may be exchanging this data with someone else, who you may or may not be able to get agreement with Smile | :)

If you can't move the 'encoded' xml, and presuming it is all properly escaped, I think maybe the place to start is to select the Value attribute into a variable. This would contain a tree fragment that you can perform all the usual xslt stuff on. For instance you could set up a template with a match of ALL_RESULTS, you could call the template with apply-templates with a select on the variable you have created. If that doesn't work then perhaps you could pass the variable into a param of the template and process it that way.

I dont think it matters that the source for the variable is text containing &lt; as opposed to < etc, the xslt processor can't tell the diference, I think Big Grin | :-D

Sorry I dont have time to test out the theory - I would be interested to hear how you get this to work..

Cheers



Phil Hobgen
barbari.co.uk
Southampton, UK
GeneralPassing XmlDocument from VB .NET to VC++ Pin
alfonx28-Feb-05 9:00
alfonx28-Feb-05 9:00 
GeneralPage Header/Footer in HTML Pin
dotnetquery27-Feb-05 20:18
dotnetquery27-Feb-05 20:18 
GeneralRe: Page Header/Footer in HTML Pin
Phil Hobgen28-Feb-05 8:10
Phil Hobgen28-Feb-05 8:10 
GeneralRe: Page Header/Footer in HTML Pin
DavidNohejl28-Feb-05 8:17
DavidNohejl28-Feb-05 8:17 
GeneralRe: Page Header/Footer in HTML Pin
dotnetquery28-Feb-05 21:36
dotnetquery28-Feb-05 21:36 
GeneralRe: Page Header/Footer in HTML Pin
DavidNohejl2-Mar-05 0:38
DavidNohejl2-Mar-05 0:38 
GeneralRe: Page Header/Footer in HTML Pin
dotnetquery2-Mar-05 1:41
dotnetquery2-Mar-05 1:41 
GeneralRe: Page Header/Footer in HTML Pin
DavidNohejl2-Mar-05 2:18
DavidNohejl2-Mar-05 2:18 
GeneralRe: Page Header/Footer in HTML Pin
Abuhijleh5-Mar-05 23:24
Abuhijleh5-Mar-05 23:24 
Generalclickety police Pin
DavidNohejl6-Mar-05 1:35
DavidNohejl6-Mar-05 1:35 
GeneralDisplay Image from XML source Pin
dotnetquery27-Feb-05 18:13
dotnetquery27-Feb-05 18:13 
GeneralRe: Display Image from XML source Pin
Phil Hobgen28-Feb-05 8:38
Phil Hobgen28-Feb-05 8:38 
GeneralRe: Display Image from XML source Pin
dotnetquery28-Feb-05 18:14
dotnetquery28-Feb-05 18:14 
Generalscheme redefines in xml Pin
mcgahanfl25-Feb-05 9:39
mcgahanfl25-Feb-05 9:39 
GeneralXML Extractions Pin
WallPanelMan25-Feb-05 7:43
WallPanelMan25-Feb-05 7:43 
GeneralXML PARSER Pin
sunit523-Feb-05 3:27
sunit523-Feb-05 3:27 
GeneralRe: XML PARSER Pin
DavidNohejl23-Feb-05 10:52
DavidNohejl23-Feb-05 10:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.