× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Asdbget and International characters
  • From: Elias Mandouvalos <ocean@xxxxxxxxxxxx>
  • Date: Thu, 17 Feb 2000 14:16:36 +0200

Yes, I use your updated ASDB.dtd now, it works fine, the old one had problems 
as you say
if you want to use the xsl you should:

1. Download you as/400 file with an .htm or .html extention
2. insert the following line in the html file:
<?xml-stylesheet type="text/xsl" href="ASDB.xsl"?>

( The ASDB.xsl file should be in the same directory as the html file)
3. view it on your browser

I attach a sample file

One problem I just found out: If you try to view it locally (i.e - the files 
are on a folder on your PC it does not seem to work. - If you view it served by 
a 
web server it works - I am using apache...)



Original message from: GOMEZ Henri
>Did you check my previous post about XML parsers
>and new ASDB.dtd ?
>
>I tried you xsl with cocoon, but I only have :
>
>AS/400 FILE DISPLAY
> 
>-----------------------------
>-----------------------------
>
>-
>Henri Gomez                 ___[_]____
>EMAIL : gomez@slib.fr         (. .)                     
>PGP KEY : 4912D659    ...oOOo..(_)..oOOo...
>PGP Fingerprint : 8CAD0D50356DA7E45C540B010FFE39E8
>+---
>| This is the LINUX5250 Mailing List!
>| To submit a new message, send your mail to LINUX5250@midrange.com.
>| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
>| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---
>
>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  <xsl:template match="/">
    <HTML>
      <HEAD>
	<CENTER><H1>AS/400 FILE DISPLAY</H1></CENTER>
      </HEAD>
      <BODY>
	<TABLE BGCOLOR="#6699CC" CELLPADDING="0" CELLSPACING="0" BORDER="1" WIDTH="100%">
	  <xsl:for-each select="ASDB/LAYOUT">
	  <TR>
	    <xsl:for-each select="FIELD">
	    <TD COLSPAN="2" BORDER="1">
		<xsl:value-of/>
	    </TD>	
	    </xsl:for-each>
 	  </TR>
	  </xsl:for-each>
	</TABLE>
	<P></P>
	<TABLE BGCOLOR="#6699CC" CELLPADDING="0" CELLSPACING="0" BORDER="1" WIDTH="100%">
        <xsl:for-each select="ASDB/RECORD">
	 <TR>
	   <xsl:for-each select="DATUM">
            <TD COLSPAN="2" BORDER="1">
               <xsl:value-of/>
            </TD>
	 </xsl:for-each>
         </TR> 
        </xsl:for-each>
	</TABLE>
      </BODY>
    </HTML>
  </xsl:template>
</xsl:stylesheet>
CODE NAME "0000 0","Total "0000 1","Katikia (Home owner) "0000 2","Personal Liability "0000 3","Motor "0000 4","Family Personal Accident "0000 5","Personal Accident "0000 6","All risks (Personal Belong "0010 0","Fire combined (Non-tariff) "0010 1","Fire (Non-tariff) "0010 3","General Liability "0010 5","Group Personal Accident "0010 6","Marine Cargo (GIT) "0010 7","Marine open cover "0010 8","CAR "0010 9","Engineering All Risks (EAR "0011 0","Fidelity "0011 1","Money "0011 2","Plate glass "0011 3","Machinery Breakdown (MB) "0011 4","Mach. Breakdown - Loss of "0011 5","Electronic Equipment "0011 8","Shopkeepers "0012 0","Fire combined (Tariff) "0012 1","Fire (Tariff) "1001 0","Casualty / Accident "1001 2","Personal Motor own Damage "1001 6","Marine - Goods in Transit "1001 7","Fire "1001 8","Natural Forces and Other D "1001 9","Personal Motor - Third Par "1002 2","General Civil Liability "1002 5","Other Property Damages "1091 2","Commercial Motor - own Dam "1091 9","Commercial Motor Third Par "2000 1","Personal Lines "2000 2","Commercial Lines "2000 3","Industrial Lines "2000 4","International Business "3000 1","Direct to Customer "3000 2","Company Sales Force "3000 4","Independent Agents "3000 5","Brokers "3000 6","Banks "3000 7","Credit Cards "3009 9","Others

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.