Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 208
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: cmsdmcmi [...] livjm.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Which XSLT Sheet?
I have recently had need to use LibXML for XML parsing. It was missing an important function however; to be able to read an XML sheet and return the name/path of the appropriate referenced stylesheet. This could then be used to be passed to LibXSLT for type of stylesheet to be applyed. I dont know if this would be a hard thing to do, I think libxml supports it but am not sure how to call these C functions within a perl script. If it is possible to do quickly and easily could you let me know cos I really need this functionality for a current project. Thanks Dan
Date: Fri, 25 Jan 2002 21:31:49 +0000 (GMT)
From: Matt Sergeant <matt [...] sergeant.org>
To: Guest via RT <bug-XML-LibXML [...] rt.cpan.org>
Subject: Re: [cpan #208] Which XSLT Sheet?
On Fri, 25 Jan 2002, Guest via RT wrote: Show quoted text
> > > This message about XML-LibXML was sent to you by guest via rt.cpan.org > > <URL: https://rt.cpan.org/Ticket/Display.html?id=208 > > > I have recently had need to use LibXML for XML parsing. It was missing > an important function however; to be able to read an XML sheet and > return the name/path of the appropriate referenced stylesheet. This > could then be used to be passed to LibXSLT for type of stylesheet to > be applyed. > > I dont know if this would be a hard thing to do, I think libxml > supports it but am not sure how to call these C functions within a > perl script. If it is possible to do quickly and easily could you let > me know cos I really need this functionality for a current project.
I'm not sure I understand the question. Do you mean find out what is in the <?xml-stylesheet?> processing instructions? -- <!-- Matt --> <:->Get a smart net</:->
From: Mcmillan Daniel <CMSDMCMI [...] livjm.ac.uk>
To: "'bug-XML-LibXML [...] rt.cpan.org'" <bug-XML-LibXML [...] rt.cpan.org>
Subject: RE: [cpan #208] Which XSLT Sheet?
Date: Tue, 29 Jan 2002 12:23:21 -0000
Hi Matt, Sorry about the confusion. Yeah you are right. A method to look at a XML document and return the path of the attached style sheet, i.e. what is in <?xml-stylesheet?> Hope this helps Dan Show quoted text
-----Original Message----- From: matt@sergeant.org via RT [mailto:bug-XML-LibXML@rt.cpan.org] Sent: 25 January 2002 21:32 To: cmsdmcmi@livjm.ac.uk Cc: PHISH@cpan.org Subject: Re: [cpan #208] Which XSLT Sheet? On Fri, 25 Jan 2002, Guest via RT wrote:
> > > This message about XML-LibXML was sent to you by guest via rt.cpan.org > > <URL: https://rt.cpan.org/Ticket/Display.html?id=208 > > > I have recently had need to use LibXML for XML parsing. It was missing > an important function however; to be able to read an XML sheet and > return the name/path of the appropriate referenced stylesheet. This > could then be used to be passed to LibXSLT for type of stylesheet to > be applyed. > > I dont know if this would be a hard thing to do, I think libxml > supports it but am not sure how to call these C functions within a > perl script. If it is possible to do quickly and easily could you let > me know cos I really need this functionality for a current project.
I'm not sure I understand the question. Do you mean find out what is in the <?xml-stylesheet?> processing instructions? -- <!-- Matt --> <:->Get a smart net</:->