Subject: Re: [xsl] resolving entities From: "Rui Alberto L." Gonçalves <rui-l-goncalves@xxxxxxxxxxxxx> Date: Fri, 23 Jul 2004 14:55:46 +0100 |
Here's a simple test case: XML: <root></root> XSL: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="root"> <script> <xsl:text> HM_Array1=[[,sp,ep],["Chamadas","main-switch?folder=/mart/chamadas&report _id=chamadas",1,0,0]] </xsl:text> </script> </xsl:template> </xsl:stylesheet> This will output: <?xml version="1.0"?> <script> HM_A... folder=/mart/chamadas&report_id=chamadas",1,0,0]] </script> and I need: <?xml version="1.0"?> <script> HM_A... folder=/mart/chamadas&report_id=chamadas",1,0,0]] </script> Thanks again. Rui On Fri, 2004-07-23 at 14:21, xptm@xxxxxxx wrote: > That is too litle information you give. Try to show us the xml and the xsl > you're using... > > Cumprimentos. > > > Quoting "Rui Alberto L. GonC'alves" <rui-l-goncalves@xxxxxxxxxxxxx>: > > > Hi all, > > I'm trying to produce some JavaScript using xsl, buit I'm having > > problem with & entity. > > > > I need to produce something like: > > > HM_Array1=[[,sp,ep],["Chamadas","main-switch?folder=/mart/chamadas&report_id= chamadas",1,0,0]] > > > > The problem is the request parameters passed are: > > folder=/mart/chamadas (and is Ok) > > amp;report_id=chamadas (not ok. I need to passe report_id=chamadas. > > > > Is that possible tell in the stylesheet to resolve entities? > > > > Thanks for any help. > > > > Rui > > -- > > Rui Alberto L. GonC'alves <rui-l-goncalves@xxxxxxxxxxxxx> > > PT InovaC'C#o > > > > > > > > > > > > O SAPO jC! estC! livre de vC-rus com a Panda Software, fique vocC* tambC)m! > Clique em: http://antivirus.sapo.pt -- Rui Alberto L. GonC'alves <rui-l-goncalves@xxxxxxxxxxxxx> PT InovaC'C#o
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] resolving entities, Rui Alberto L. | Thread | Re: [xsl] resolving entities, xptm |
RE: [xsl] Infinite Loop when param , Michael Kay | Date | Re: [xsl] resolving entities, xptm |
Month |