Re: XML Doesn't Load by Darryl
Darryl
Mon Jun 14 16:59:49 CDT 2004
Well, the whole problem would be solved if there was a "Pocket Access"
included on my PDA
Darryl Kerkeslager
"John Spaith [MS]" <jspaith@ONLINE.microsoft.com> wrote in message
news:O4dHeviUEHA.3012@tk2msftngp13.phx.gbl...
> My apologies for taking you into left field with my previous response.
I'm
> afraid I don't know how long it will take to get fix out. You've found
the
> right support people that are obviously more on top of this than I am :(.
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let
> us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "Darryl Kerkeslager" <Kerkeslager@comcast.net> wrote in message
> news:U9WdnUbXqvdvr1fdRVn-sw@comcast.com...
> > I'm not sure what you mean, as to the difference between CE and Pocket
PC.
> > My Dell Axim (the one that won't display XML) identifies the system as:
> >
> > Microsoft(R) Pocket PC
> > Version 4.20.0 (Build 13349)
> > (c) 1996-2003 Microsoft Corporation.
> > All rights reserved.
> >
> > The system came unmodified from Dell (we're the Dept. of Corrections,
not
> a
> > software company (grin). Based solely on what you've posted below - I
> have
> > no independent knowledge of the differences you mention - and based on
the
> > identify information on the Dell - I would assume that this *is in fact
a
> > Pocket PC device* - and I am posting in the correct newsgroup.
> >
> > So ... the problem is that Windows CE Build 13349 does not display XML
> > correctly. Now, how long it will take for MS to fix this bug ...
> >
> > The reply I received:
> >
> >
> > >>Hi Darryl
> >
> > >>I had sent the issue you reported and they have mailed me that this is
a
> > known issue and that the team is working on it. They have mailed me to
let
> > you know that this will be fixed in future releases of the OS. Thank you
> > very much for the information and the support.
> >
> >
> > >>Thanks & Regards,
> >
> > >>Jinny Korulla George
> > >>Developer Support Technical Router
> > >>Microsoft Global Support Center
> >
> >
> > Darryl
> >
> >
> >
> > "John Spaith [MS]" <jspaith@ONLINE.microsoft.com> wrote in message
> > news:%23gwqKSmTEHA.332@TK2MSFTNGP11.phx.gbl...
> > > I'm going to teach you to answer a question with a question by giving
a
> > > convoluted answer :).
> > >
> > > Actually it's not just the CE.Net version that's different between the
> > > PocketPC and your CE 4.2 device. It's MSXML itself. On PocketPC 2003
> > > (which is based on CE 4.2) they still ship MSXML2 because of ROM
> > > limitations. All other customers of CE 4.2 get MSXML3, however. I'm
> > > assuming the CE 4.2 Axim you're talking about below is not running
> > PocketPC
> > > Shell but was built via Platform Builder by the OEM, correct?
> > >
> > > MSXML3 was very componentized so that OEMs can mix and match the
> > individual
> > > pieces (DOM, SAX, XSLT, etc...) they want in order to save ROM. The
> MSXML
> > > Mime Viewer is an optional component in CE 4.2. CE 4.2 was first
> version
> > it
> > > made it in, CE 4.1 didn't even have this as on option. So (again I'm
> > > assuming this is a non-POcketPC device) it's possible that the OEM
built
> > > MSXML DOM/XQL/whatever... and Internet Explorer, but chose not to
> include
> > > the mime viewer.
> > >
> > > Unfortunatly there's no way you can add this in yourself after the
fact.
> > > You'll have to talk with the OEM to get them to add the feature. Also
> > > assuming that this is a question about a non PocketPC device, you're
> > > probably better off posting to a newsgroup like
> > > microsoft.public.windowsce.platbuilder.
> > >
> > > --
> > > John Spaith
> > > Software Design Engineer, Windows CE
> > > Microsoft Corporation
> > >
> > > Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
> > Let
> > > us know!
> > > https://www.windowsembeddedeval.com/community/newsgroups
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > > You assume all risk for your use. © 2003 Microsoft Corporation. All
> rights
> > > reserved.
> > >
> > > "Darryl Kerkeslager" <Kerkeslager@comcast.net> wrote in message
> > > news:PoKdndSQOtdU0iTdRVn-jA@comcast.com...
> > > > I was told never to answer a question with a question, but ...
> > > >
> > > > I have a few Dell Axim X5s, that use the following XML files like
the
> > > > follwing example XML file (10154.xml)
> > > >
> > > >
> > > > <?xml version="1.0" encoding="utf-8" ?>
> > > > <?xml:stylesheet type="text/xsl" href="info.xsl" ?>
> > > > <offenders>
> > > > <off o_id="10154" n="Person, Ima R." r="W" s="M" ht="5'09" wt="180"
> > > > tat="None visible" dob="12/4/62" ssn="000-00-0001" a1="56 Olean
> Street"
> > > > a2="Angelica, NY 02020" po="McLeanJ" so="" vio="" notes="New case"
> > > > photo="/CF Card/0010/0010154A.jpg"/>
> > > > </offenders>
> > > >
> > > >
> > > > The XML is displayed using the following three XSL stylesheets -
> > > Notes.xsl,
> > > > Info.xsl, and Photo.xsl. The X5 Dells work fine - no problems. The
> XML
> > > > displays on my PC Internet Explorer - no problem. However, I just
> > > received
> > > > some new Axim X3 PDAs with Windows CE 4.20. Nothing displays. Not
an
> > XML
> > > > error message, just a blank Internet Explorer screen.
> > > >
> > > > Is this a bug? A feature change? There seems to be nothing
different
> > > otehr
> > > > than
> > > > the Windows CE vesion.
> > > >
> > > >
> > > >
> > > > Darryl Kerkeslager
> > > >
> > > >
> > > >
> > > > (Photo.xsl)
> > > >
> > > > <?xml version="1.0"?>
> > > > <xsl:stylesheet xmlns:xsl="uri:xsl">
> > > > <xsl:template match="/">
> > > > <table BORDER="0" CELLPADDING="1" CELLSPACING="0">
> > > > <xsl:for-each select="offenders/off">
> > > > <xsl:if test="@o_id[.='??????']">
> > > > <tr>
> > > > <td VALIGN="top" COLSPAN="2"><B><xsl:value-of
> > > > select="@n"/></B><BR/><HR/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><img><xsl:attribute
> > name="src"><xsl:value-of
> > > > select="@photo"/></xsl:attribute></img></td>
> > > > </tr>
> > > > </xsl:if>
> > > > </xsl:for-each>
> > > > </table>
> > > > </xsl:template>
> > > > </xsl:stylesheet>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > (Info.xsl)
> > > >
> > > > <?xml version="1.0"?>
> > > > <xsl:stylesheet xmlns:xsl="uri:xsl">
> > > > <xsl:template match="/">
> > > > <html>
> > > > <head>
> > > > <title></title>
> > > > <script>
> > > > function showNotes(o_id)
> > > > { var root = notesXSL.documentElement;
> > > > var selectedElems = root.selectNodes("//xsl:if");
> > > > var ifStatement = selectedElems.item(0);
> > > > ifStatement.attributes(0).text = "@o_id[.='" + o_id +
> "']";
> > > >
> document.write(off.transformNode(notesXSL.documentElement));
> > > > }
> > > >
> > > > function showPhoto(o_id)
> > > > { var root = photoXSL.documentElement;
> > > > var selectedElems = root.selectNodes("//xsl:if");
> > > > var ifStatement = selectedElems.item(0);
> > > > ifStatement.attributes(0).text = "@o_id[.='" + o_id +
> "']";
> > > >
> document.write(off.transformNode(photoXSL.documentElement));
> > > > }
> > > > </script>
> > > > </head>
> > > > <body>
> > > > <table BORDER="0" CELLPADDING="1" CELLSPACING="0">
> > > > <xsl:for-each select="offenders/off">
> > > > <tr>
> > > > <td VALIGN="top"><b><xsl:value-of
> > > > select="@n"/></b><br/><hr/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><xsl:value-of select="@a1"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><xsl:value-of select="@a2"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top">
> > > > <input>
> > > > <xsl:attribute name="TYPE">button</xsl:attribute>
> > > > <xsl:attribute
> > name="VALUE">Description</xsl:attribute>
> > > > <xsl:attribute
> name="ONCLICK">showNotes('<xsl:value-of
> > > > select="@o_id"/>')</xsl:attribute>
> > > > </input>
> > > > <input>
> > > > <xsl:attribute name="TYPE">button</xsl:attribute>
> > > > <xsl:attribute name="VALUE"> Photo
</xsl:attribute>
> > > > <xsl:attribute
> name="ONCLICK">showPhoto('<xsl:value-of
> > > > select="@o_id"/>')</xsl:attribute>
> > > > </input>
> > > > </td>
> > > > </tr>
> > > > <tr><td><hr/></td></tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>Officer: </b><xsl:value-of
> > > > select="@po"/></td>
> > > > </tr>
> > > > <tr><td><hr/></td></tr>
> > > > <tr>
> > > > <td VALIGN="top"><b><xsl:value-of
select="@so"/></b></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><b><xsl:value-of
select="@vio"/></b></td>
> > > > </tr>
> > > > <tr><td><hr/></td></tr>
> > > > <tr>
> > > > <td VALIGN="top"><xsl:value-of select="@notes"/></td>
> > > > </tr>
> > > > <XML>
> > > > <xsl:attribute name="ID">off</xsl:attribute>
> > > > <xsl:attribute name="SRC"><xsl:value-of
> > > > select="@o_id"/>.xml</xsl:attribute>
> > > > </XML>
> > > > </xsl:for-each>
> > > > </table>
> > > > <XML ID="photoXSL" SRC="photo.xsl"></XML>
> > > > <XML ID="notesXSL" SRC="notes.xsl"></XML>
> > > > </body>
> > > > </html>
> > > > </xsl:template>
> > > > </xsl:stylesheet>
> > > >
> > > >
> > > >
> > > > (Notes.xsl)
> > > >
> > > >
> > > > <?xml version="1.0"?>
> > > > <xsl:stylesheet xmlns:xsl="uri:xsl">
> > > > <xsl:template match="/">
> > > > <table BORDER="0" CELLPADDING="1" CELLSPACING="0">
> > > > <xsl:for-each select="offenders/off">
> > > > <xsl:if test="@o_id[.='??????']">
> > > > <tr>
> > > > <td VALIGN="top" COLSPAN="2"><b><xsl:value-of
> > > > select="@n"/></b><br/><hr/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><xsl:value-of
select="@r"/>/<xsl:value-of
> > > > select="@s"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>DOB: </b><xsl:value-of
> > > select="@dob"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>SSN: </b><xsl:value-of
> > > select="@ssn"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>VACCIS: </b><xsl:value-of
> > > > select="@o_id"/></td>
> > > > </tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>Ht: </b><xsl:value-of select="@ht"/>
> > > > <b>Wt: </b><xsl:value-of select="@wt"/>
> > > > lbs</td>
> > > > </tr>
> > > > <tr><td><br/></td></tr>
> > > > <tr>
> > > > <td VALIGN="top"><b>Tattoos: </b><xsl:value-of
> > > > select="@tat"/></td>
> > > > </tr>
> > > > </xsl:if>
> > > > </xsl:for-each>
> > > > </table>
> > > > </xsl:template>
> > > > </xsl:stylesheet>
> > > >
> > > >
> > >
> > >
> >
> >
>
>