Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
swdev:java:files:xml_file_routines [2017/10/03 08:21] smayr |
swdev:java:files:xml_file_routines [2017/10/03 08:22] (current) smayr |
||
---|---|---|---|
Line 24: | Line 24: | ||
Read the list of items found in XML file: | Read the list of items found in XML file: | ||
<code java> | <code java> | ||
- | package com.mkyong.seo; | + | package com.acme.myproj; |
import javax.xml.parsers.DocumentBuilderFactory; | import javax.xml.parsers.DocumentBuilderFactory; | ||
Line 83: | Line 83: | ||
To read the list of items and their children in XML file, loop through the nodes: | To read the list of items and their children in XML file, loop through the nodes: | ||
<code java> | <code java> | ||
- | package com.mkyong.seo; | + | package com.acme.myproj; |
import java.io.File; | import java.io.File; |